package QualificationRound.A_And_B;

import java.io.BufferedInputStream;
import java.io.IOException;
import java.util.*;

public class Main
{
	private static BufferedInputStream in = new BufferedInputStream(System.in);

    public static void main(String[] args) throws IOException
    {
        while(true)
        {
        	System.out.println(readInt()+readInt());
        }

        
    }
    private static int readInt() throws IOException
	{
		int i,sum=0;
		
		while(((i=in.read())&48) != 48 || i>57);
		
		for(;(i&56) == 48 || (i&62) == 56; i=in.read())
			sum = sum*10 + (i&15);
		
		return sum;
	}
}